package com.wu.gumomallproduct.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.common.utils.PageUtils;
import com.wu.common.entity.product.BrandEntity;
import com.wu.common.entity.product.CategoryBrandRelationEntity;
import com.wu.common.vo.product.BrandVo;

import java.util.List;
import java.util.Map;

/**
 * Ʒ?Ʒ???????
 *
 * @author wu
 * @email 2195361340@qq.com
 * @date 2022-12-12 17:36:43
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveCategoryBrandRelationEntity(CategoryBrandRelationEntity categoryBrandRelation);

    void updateBrandName(Long brandId, String name);

    void updateCategoryName(Long catId, String name);

    List<BrandEntity> getBrandsBycatId(Long catId);

    List<BrandVo> getBrandVosBycatId(Long catId);
}

